Skip to content

fix(p2p/sensor): skip fetching transactions already in cache#919

Merged
minhd-vu merged 2 commits into
mainfrom
fix/p2p-skip-cached-tx-fetch
May 11, 2026
Merged

fix(p2p/sensor): skip fetching transactions already in cache#919
minhd-vu merged 2 commits into
mainfrom
fix/p2p-skip-cached-tx-fetch

Conversation

@minhd-vu
Copy link
Copy Markdown
Contributor

@minhd-vu minhd-vu commented May 11, 2026

Description

Filter out transaction hashes that are already cached before sending GetPooledTransactions requests. This avoids redundant network fetches when multiple peers announce the same transactions.

Jira / Linear Tickets

Testing

  • Deployed Amoy
  • Deployed Mainnet

minhd-vu and others added 2 commits May 11, 2026 10:38
Filter out transaction hashes that are already cached before sending
GetPooledTransactions requests. This avoids redundant network fetches
when multiple peers announce the same transactions.
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@praetoriansentry praetoriansentry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@minhd-vu minhd-vu merged commit 88998a3 into main May 11, 2026
16 checks passed
@minhd-vu minhd-vu deleted the fix/p2p-skip-cached-tx-fetch branch May 11, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants